package com.ly.honor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.PlayerPlace;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.honor.entity.dto.PlayerPlaceCreateDTO;
import com.ly.honor.entity.dto.PlayerPlaceEditDTO;
import com.ly.honor.entity.vo.PlayerPlaceQueryVO;

import java.util.List;

/**
* @author 17798
* @description 针对表【bs_player_place】的数据库操作Service
* @createDate 2022-11-16 11:49:49
*/
public interface PlayerPlaceService extends IService<PlayerPlace> {

    Page<PlayerPlaceQueryVO> selectPlayerPlacePage(long pageNum, long pageSize);

    PlayerPlaceQueryVO getPlayerPlaceById(long id);

    void insertPlayerPlace(PlayerPlaceCreateDTO playerPlaceCreateDTO);

    void updatePlayerPlace(PlayerPlaceEditDTO playerPlaceEditDTO);

    List<PlayerPlace> selectPlaceAll( long gameId);
}
